package com.goku.framework.ui.adminlte;

import java.io.IOException;
import java.io.Writer;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import freemarker.core.Environment;
import freemarker.template.SimpleScalar;
import freemarker.template.TemplateDirectiveBody;
import freemarker.template.TemplateException;

public class TrTag extends UiTag {

	private static Logger logger = LoggerFactory.getLogger(TrTag.class);

	@Override
	public String getHTML(Environment env, Map params,
			TemplateDirectiveBody body) {
		return "aaaa";

	}

	@Override
	public void render(Environment env, Map params, TemplateDirectiveBody body)
			throws IOException, TemplateException {
		logger.debug("body:" + body);
		Writer w = env.getOut();

		w.write(getHTML(env, params, body));
 
		renderBody(env, body);
	}

}
